HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/owlcrm/storage/framework/views/a240ceb006bd6b3e85f5ea42138ce56c.php
<!-- Button trigger modal -->




<!-- Modal -->
<div class="modal fade" id="delete<?php echo e($lead->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
    aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel"><?php echo e($lead->name); ?></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <p>This will delete this lead permanently</p>
                <p>Are you sure?</p>
            </div>
            <div class="modal-footer">
                <form method="POST" action="<?php echo e(route('leads.destroy', $lead->id)); ?>">
                    <!-- CSRF Token -->
                    <?php echo csrf_field(); ?>

                    <!-- Hidden input to simulate DELETE method -->
                    <input type="hidden" name="_method" value="DELETE">
                    <button type="submit" class="btn btn-danger" id="delete_btn" data-id="' . $lead->id . '">Yes,
                        Delete</button>
                </form>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /var/www/html/owlcrm/resources/views/users/leads/partially/delete.blade.php ENDPATH**/ ?>